const fastify = require('fastify')()

fastify.get('/', async () =>{
    return {
        msg: 'message'
    }
})

fastify.listen(3000, ()=>{
    console.log('server listen at 3000');

})